Ndl: reverted some lines of code lost in 93dc0bc.