Resolve error with number ranges for tables outside of the public schema
Merge pull request #1996 from andersdd/release_number

issue #23100 - Resolve error with number ranges for tables outside of the public schema.
The change for #1482 was lost at some point. This reinstates that change.