Allow maxid to be larger than idcount.