Fixed bug in MapReduceElement
Merge pull request #10 from webbrl1/master

Fixed bug in MapReduceElement