Fix event type retrieval in work packages activity provider (#3723)