Fix for undefined nodeWrapper
A verification for the connections is used in python