Fixed a horrible bug where tags were getting destroyed