ISPN-4198 Commands sent by another node before the local node joined are not ignored properly
ISPN-4194 VersionedDistStateTransferTest.testStateTransfer random failures

Use waitForRehashToComplete() instead of waitForClusterToForm().