Set correct match type.