Make upper range of time bounds inclusive.
Fix pagination for activity view to include dates.