Fix inputting : in query mode lose bookmarks