Fix and simplify logic deciding how many reducers to send each datum to