Update conditional code structure in updateHeaders()
Fix unwanted headers not being removed in Sym 2.3.2 - 2.4