BUG: is_superperiod and is_subperiod cannot handle higher freq than S