CS-5410: use 404 code for responses without items