hearthstone: Correctly check for empty matches.