Added the list-matches-index and list-non-matches-index procedures