Fixed bug in wholeBodyStates requirement of wholeBodyDynamics running