Fixed EZP-20767: PostgreSQL fails with binary 'and' operator's result used as a boolean value
Merge pull request #319 from patrickallaert/EZP-20767

Fixed EZP-20767: PostgreSQL fails with binary 'and' operator's result used as a boolean value