autorid: when storing a new range, always check it does not exist.