Fix db request for locations that do not have anything near them
Make UI react to input