Improve handling of fractional frequencies