Fix ToggleSelectionAndSelectNext

This action was doing the right thing, but the changes in the layout
was looking at the wrong line number
Use batch mode just in case