Fixed bug in printing relationship attributes