Fixed bug preventing tags from saving