Fixed some bugs on RedBlackTree