added check in scholar_search to ensure that there actual references in the page