Fix typo for nextNodes versus nextNode and prevNodes versus prevNode #2 #3