When finding a better node with same state on graph search, update memory (was bug)
Merge branch 'fix-memory-update-when-better-graph-node' into develop