I'd have expected equalsUnordered to care about duplicates as well, rather than treating them as sets.