Issue #258 complete

CheckAndCorrectCalendarItem method was added with tests.