Fixes bug where Sparky was rejecting strings as nodes