Refined Boolean Expressions for EntityListener