Add a missing isDone test before setting state on a UserCmd