Bug fixing in rel/3

The call when A is integer and B not invert the variable name