Cleaning up logic in ExactMatchFilter for empty value check