bugfix: max sp, bg, combo error

Errored out if the # of max species, backgrounds, and combos were the
same. Put in a check to see if the index exceeded the tuple.