Requests for nonexistent quotes now redirect to a 404 page

Instead of throwing random errors, these requests now cleanly redirect to a 404 page.