Set 404 status correctly