[merge addon] Don't try to remove line class on lines that aren't in doc anymore

Issue #2438