Improve function handling in WHERE conditions when more than one field is involved. Add a now working expected JSON. Do not store aliases for functions which are not in the SELECT statement