Fix query compat with Postgres 13