Added new edge case for non-existent bst