relationshiptypes validation fix