Fixing binary tree search bug if tag not found