Fixed findSequences matching the same atom multiple times.