fixed the bug where page id or guid search would not work