fix edge case when mixing fields with an alias and without in the select list