fix #9214: canonicalize CompoundPeriod