Is it possible, do you think, that OGG requires a length to be a multiple of specific amounts (possibly based on bitrate)?
Is your sound clipped from the beginning of the sound, the end or both? If it's the end, which is most likely, you can simply add silence to the original. However, if it includes the beginning (which I think I remember seeing happening somewhere), you could try adding silence to the beginning if the only problem is that a small amount of the sound is clipped. If the problem is exact timing (as expected from dialogue), however, if the beginning is different, code would need to accommodate that (you could offset the start position, for example).