Corrected a tiny bug for Postgres