Otherwise we might end up executing this command on a node that it is not a primary anymore.
The change should be done here and here (probably just the second one is enough though).