Detect arithmetic operator against relation expression result

If it's detected, the expression is an invalid expression. This is the
same behavior as before supporting arithmetic operator with index search.