Fixing relationship validation.