Fix a forgotten index increment in MotionConstr::update.