Removing $enddate and reverting to day queries.