Fix similarity parsing in where clauses (already worked in select and order by)