Bugfix inside pagetree for wrong generated search_result code.