Fix typeerror: PendingStateChange (tuple) vs. ControllerStateChange