Make use of orm.Is() to check boolean fields and avoid null pointer dereferences. Fix issue #23