MOB-117: Fix to calculateEventPriority call