Change endkey value from 0d to java.lang.Double.NEGATIVE_INFINITY