route: fix for swapstraight in case route command is straight