Fix segmentation fault in set_relationship method, when it was empty and restore RCR is invoked on NULL object. This fixes ADTCC-135
Fix segmentation fault in set_relationship method, when it was empty and restore RCR is invoked on NULL object. This fixes ADTCC-135