Hide secondary and tertiary intervals if repeated before or after