Fixed off by one error for months