Fix a bug in fold/avg

Found a bug in fold/avg where if somehow a seed value is passed to the combiner, it would throw an exception. I'm fairly confident this only happened locally, but took the opportunity to simplify the logic.