Fix the inclusion flags on date-range checks.

May still be an issue with floating events.