When using an execute node, after the function being executed, godot throws the error 'Invalid get index 'next' (on base: 'Dictionary').' I suppose it is either a bug or me doing something wrong.
The problematic bit seems to be set_next(current_node.next) on the execute func.