Fixed bug with output results of search in local DB, when number of results less then number VISIBLE_ON_PAGE (pagination).