[RBTREE] - Deletion Fix

Preventing segfault in deletion process