fix article has_events scope