Corrected type related parameter issue in command state sequence.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>