When adding a criterion, isInclusive is set to true directly from the slice action.
When updating it, the old criterion which had isInclusive value is overwritten by a newer one which doesn't have any isInclusive value and thus it is interpreted as false.
Fixes
Fixes #82 by @MiskoG
Technical details
isInclusive
is set totrue
directly from the slice action.isInclusive
value is overwritten by a newer one which doesn't have anyisInclusive
value and thus it is interpreted as false.