Fix initialisation of nil and root nodes in red-black-tree.