[GEOT-4630] IsBetweenImpl will fail with an NPE if the value being tested for inclusion is null