refactored the assignment of nodes to avoid problems with reducers not being pure functions
refactored the assignment of nodes to avoid problems with reducers not being pure functions

NLeSC-Storyteller/query-builder-client,NLeSC-Storyteller/query-builder-client,NLeSC-Storyteller/query-builder-client