Attached is the patch to fix RM 4199 "ENTER in Data Filter runs query". To solve this problem I have remove the key mapping of the "OK" button, which is mapped to ENTER key and provided the alternative key combination that is "SHIFT + ENTER".
I have added Placeholder message for that in code mirror. Refer Data_Filter.png.