Addes support for appointments that start during the given interval but ends after. They are returned now, too.