Search indexing bug fix

Plus some small changes in ranges UI