Bugfix - had been correcting integer frequency offsets in the wrong direction