LPS-50683 Fix the default range when publishing
LPS-50796 Fix StackOverflowError