Addressed review feedback of pull request 1544

Addressed review feedback of [pull request 1544](https://github.com/DynamoDS/Dynamo/pull/1544)