Fixes bug where frequency is updated incorrectly New Set is not checked correctly