Fixed server id type compare