Fixes #5549
fix when default value of "inclusive" is not set, set to default "true"
Merge pull request #5714 in master
Merge pull request #5551. Fix #5549
Merge pull request #5551. Fix #5549 in develop