You'll have to revert this, too. You can use read_preference with a non-replica set, so long as it goes to PRIMARY.