Defaulting to the only result in your library is perfectly reasonable, but it the case of a collision, what does it do?
My guess is that it runs through in a loop (I haven't looked at the code) and simply goes with the first result that it finds, but that doesn't cover all possible use cases.