Prefix various checks with rs.slaveOk so that these work on slave member...