Fix migration of Python nodes
Merge pull request #1610 from monikaprabhu/newBranch

Fix migration of Python nodes