HSEARCH-1378 Including/exluding bounds correctly for numeric range queri...

...es created with the DSL