Fix to sync, incorrect files (I think) were being compared