This null check did not make the migration to BooleanTypesPredicate. Was it deemed superfluous?