Made the queries usable with Postgres 9