Fixed month off-by-one bug