Bugfix parsing relationship structures.