Safe swap! in 'set-keys!'