Corrected 'match one' checkbox logic