Fix user command dispatch bug.