altered newAppliedTags function

Test against existing tags versus tags on ticket opening