Properly handle nodes inserted through innerHTML
Minor fix