Fixed issue with creating a new tag_record