Differing boolean values in PostgreSQL 8.4 - query now accommodates 8