[Fix] a bug of RBT

Forgot to replace null with Nil.