Filter out inactive locations from nearby query.