Fix problem with bookmarked searched

When accessing directly to a search, vi for instance a bookmark, the
page had a problem due to some wrong initialization