Fix rendering of columns projected from a SQL function