Fixing bug where matches weren't displayed sometimes.