Correction to state validation

Correction to state validation.