fix query so that staff, patron and location can have continues appointment
Merge remote-tracking branch 'origin/master'