I think the problem with the second action sequence is that you've got it set to repeat 6 lines, but the 6th line is another dual wield action: 6 line.
I'm not sure how exactly that'd play out, but the way the command works is by adding the next X commands to the sequence immediately following that command, meaning that in that sequence, it's going to add five commands, and then another dual wield action. When it plays through the newly added commands, it's going to get to the dual wield action command and repeat the next 6 again, which includes another dual wield action: 6 on the very next line, causing it to repeat a loop a large number of times, where it likely shaves off one command from the end until it's only looping dual wield action: 6 commands, has nothing left to repeat, and stops (or causes a stack error, maybe).
Change the first one to 5 steps, so it doesn't repeat the dual wield action.
~Ramza