Quick bugfix on isValid status