add EntityType to BooleanExpression