Quit sprinkle when there are no more frequencies to remove. Also rename for readability the check for linking elements.