Fixes #9852 - Inconsistent return value in OrderedSet