Fix bug in determine consecutive days method.
Rename method.