Fix parsing of relfection xml