Fix autonumbering behavior with --remote --no-update.