Add else statement for getMatches