fix error with duplicate shown entries in calendar