Fixed incorrect processing of wildcard policies - ordering matters