servers: fix panicing when the Id doesn't exist