fixed error in rendering subjects secion in lending stats.
Taking stats_solr setting from config file.