Of course! I forgot to change the reduce function to operate on single items rather than pairs.