Fixed same-value delete problem

Fixed issue where deleting a node with two children whose successor node was the same value would result in infinite recursion loop