program doesn't print aggregation results.
changed order of replica set processing to remove a wrongly-named host before adding it's peers.
reverse order of adding and removing discovered members in a replica set to avoid removed members from getting used.