Added a default scope for activity to occurred_at