Handle ModelNotFoundException.