CAL-999 Event search works incorrectly