Fix rollup hashed partitions

fix bucket selection for hash based partitions