fix date range search for user/time tracking (very inefficient but the only known way so far)