Fix adding tags in sidebar.