Fix most of the commands that would crash if you gave a too big command repeat prefix number.