Fix IQ XML generation.