Fixed XML errors

Just swapped around the order of some XML objects to resolve errors in
referencing.