Fix detecting mirror frequencies.