Bug 918179: Optimize append case in tag_visibility_monitor

See:  https://bugzilla.mozilla.org/show_bug.cgi?id=918179