Fix picking a secondary function when a server is alone in replicatSet
Update CHANGELOG