Fixed autocompletion of tags after page reload