Min and max accumulators didn't return correct results in all cases.  Closes #21.