fix getEventSearchQuery in CalendarScriptService