Fixes #6874: Integers in settings can be up to 8 digits to avoid bigint out of range error