Added range function implemented in fork of influxdb