Fixed the nodes looping into themselves.

make_node set the new nodes prev field to thread->next rather than
thread.