Fix handling of single value reduce

Closes #10