Added pagination to results fetch