Fix logic bug/notice in Tag mixin.