Fix raising 404 when passing 0 books while executing order

Fixes gh-33