calendar: nextchange calculation bugfix