Handled corner cases in places nearby search