Minor bug fix (calendar)