Fix for next_available_reservation stack overflow

* Fail immediately if user has no scheduling rules.
* Support :until parameter so it doesn’t go too far out