Fix wildcard priority