Fixes matrix exclusion