Fixed bug#9387 - Error in a condition with dynamic fields in NotificationEvent.