Fixes bug that caused the initial timeselection to be one month too small