Very similar to bug 3785, requests.pl in the staff client does not check that maxreserves has a legitimate value before attempting to use it. It should.
Pushed, please test
Seems to be working now. Closing.