Fixed january breaking with previous patch due to date being shifted back 5 days

Fixes the situation where date.getMonth() turns into 11, thus breaking the patch.