May I ask why you are not using the AU plug-in of Melodyne? It would probably make things a little easier.
Anyway, if you add a tempo change after you have already transferred an audio track to Melodyne, the corresponding blobs will obviously run out of sync. In this case, you can make Melodyne redetect the song tempo in the Tempo dialog. See here