(#1658) - upgrade map reduce for cached queries

currently fails