Expected behavior
Parenthesis should always be balanced for conditions passed to the parser otherwise it will give wrong records. Parser itself should check for this before starting evaluating the condition.
Actual behavior
Currently it assumes that the condition always has balanced parenthesis.
fyi @maxceem @vikasrohit