Postgres bug with boolean cast fixed