This could be fixed by my request here

https://forums.mirc.com/ubbthreads....t-save-items-in-correct-order#Post264078that the max buckets of 10000 be increased to 10007 to match the max value returned by $hget(tablename)

The last 2 primes used by /hmake are 9973 and 10007, with the max input accepted as 10000. This means using input in the range 9974-10000 generates a table using 10007 buckets, which is an error when trying to use $hget(table) to clone to another table.

I assume the 10000 is an arbitrary limit, as a more relevant max would be the largest prime less than 2^14 as 16381, but that might be too much of a jump.