make field stats threshold work with double values. Graylog2/graylog2-server#356