Fixed various issues with search page and addressed fundamental problem with page implementation