Fix for incorrect resetting of result count for bookmarks