Do not increment the month if month is December

This fixes a date exception we were seeing. It stops us from
incrementing the month from '12' to '13'. In this case also made sure
that the offending method produced the correct output.