Added validation for only if inverse type is present