Fixed bug in sorting hands when opening allographs box, fixed unique ids problem in hands page