This happened in in the barbershop_interior.blend benchmark file, seems duplicate hash entries are ok for this algorithm.