Base criteria for the query should be wrapped before adding the entity filter criteria so the priority of filtering is clear.
Base criteria for the query should be wrapped before adding the entity filter criteria so the priority of filtering is clear.