Fix reading IDs from server.