[BUGFIX] Use less aggressive string replace in IRRE headers