fixes #5729; displays dependency if either parent or child relationship exists