Fix missing "p" state to MI ds_set_state command.

Closes #312
Reported by @gergelypeli