Irrelevant calendar entries are removed properly