Better nocgmin fix for freq calcs.