Fixed a minor relationship XML output bug.