Adjusts output for months > 12.