Fixed PHP-535: Run commands on Replication Secondaries