Fix issues in the handling of tags from contexts that are not edit forms