Fixes for correct behavior of replicasets when node in recovering mode