Fixed recursive add node