Handle entity not found