Added pagination for matches