Update RangeSearch.java

Won't cause an exception if range search is selected and db isn't populated. More user friendly this way.