Fix node_scale method to handle deleted parent projects

Fixes https://sentry.osf.io/osf/production/group/1119/
Merge branch 'hotfix/0.21.21' into develop