replica_set default in argparse is None type, changing if clause to
match this