Fix page response bug for search

closes #26