LPS-41378 [TOP PRIORITY] fix error with date ranges in staging