Someone made the npgsql query neater; fix it to still work.

It was only returning one type for this query, so everything looked like an unknown type.