Removed -1 which caused last server not to be used