select interval_type only if time-period