Fixed PHP-759: Write operations apply ReadPreferenceTags when finding pr...

...imary