Working incremental map reduce for mongodb