swapped erroneous old type check in open-connection to use new type tags
swapped erroneous old type check in open-connection to use new type tags

yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL,yuriy-chumak/OL