Changed TopDocs so that results longer than 10 can be presented