Fixed getFilteredMatches order of arguments