Fixed bug: due to floating point error, some frequencies would display incorrectly