plugins/transformsWithOnePath: fix possible c+t or q+s bug