Fix small typo in event condition query builder