Fixed type in server query