fix for stack overflow when deleting inputs

#1074
Merge branch 'master' of https://github.com/ikeough/Dynamo