changed to logic for handling date filtering outside of current data set: added the ability to get a range of activites