Match document matchers with numbering correctly