Fixed clear_event_cache