fixed bug with historic activities (showed all)