Fixed bug in assigning correct beamUID and RTPlanLabel.
Fixed subfunction getRelatedRTPlanLabel