Fix for mapreduce readpreference issue #1093