TRUNK-4565 - andreweskeclarke - NullPointer can still happen if the DB row has a null value, replace mixed up booleans