Woops! That overflowing should definitely not happen. I will look into that. Thanks for reporting it!
Also, dang, that must have been a lot of games if you have all the cards!
Edit: This is fixed in the newest version. Extra legendary horses wrap over to legendary dogs.