Bugfix: fix valueStreamWithQueryRange.

Use mapreduce function to stream back values from secondary index query.