fix a few things with replica sets & read preferences