Fixed seeInDatabase() when testing for NULL values in PostgreSQL.

Fixes issue #981.
Merge pull request #983 from creste/issue-981

Fixed seeInDatabase() when testing for NULL values in PostgreSQL.