Adding fix for open generic classes that implement non open interfaces