Fix bug occuring on days w/ no visits causing tests to be slower on this branch.