IDEADEV-41722 allowed between operand types fix