Avoid returning an error when entity could not be found