[Gii] hasError should not be negated