You're capped at 256 cards. Perhaps this was expected, the script takes a hexadecimal index rather than a decimal one.
It also takes on a lot of user interface bloat. There's no way you're scrolling through 256 cards that can have anything on them.