Eliminate workaround in access condition

As it turns out, PostgreSQL doesn't accept 1 as boolean, while SQLite
doesn't know 'true'.