Updated getFilteredMatches