#305, #306, #307: Fix inclusive option in between, greaterThan, lessThan; thanks to @johanronn77