Revert swapped bindings for query-replace(-regexp)