Fixed the UPDATE raw query so it actually uses a boolean and not an integer (causes a PG::DatatypeMismatch on Postgres)