Remove ambiguity in sample query surrounding nodes without labels