Send 404 instead of 500 for empty doc lists