[FIX] quality_control_between_dates: Constraint