Fix node_scale method to handle deleted parents

fixes https://sentry.osf.io/osf/production/group/1119/
Merge branch 'hotfix/0.21.21'