Pulling in Andy Fragen's fix for tribe_events_event_classes()