fix server error on bad entity/question to give 404