Merge pull request #5781 in master
Fixes #5549
fix when default value of "inclusive" is not set, set to default "true"