ECMS-6481 [Unified search] events and tasks are not searchable
Reason: Wrong logic when lockup tokenChar for indexer