Small fix to map/reduce LongMaxAggregation.
Merge pull request #2628 from wesleypeck/mrfixes

Small fix to map/reduce LongMaxAggregation.