Reroute mapreduce writing to a collection to primary