Range search not working for string field