Switch to earliest valid gen when searching wrong gen
Merge pull request #2 from msd7734/temp

Switch to earliest valid gen when searching wrong gen