Undo bug with macro and repeats
Fixed a bug in the command margin

It wasn't considering the case where key inputs could be nested