Minor change to OrthogonalState.isComplete and StateMachine.isComplete to make code consistent with other versions