modified range query to handle normalized ranges

- range query now returns normalized edit distances with success