fix boolean logic for single date calendars