Now returns with 404 if entity not found for edit.