Delete method now accounts for node with single child