Update server.py

Replacing unique indices with constraints on item names.