Fixed getTrackedTimeForActivity supporting the soft deletes