Fix bug with syncing introduced by recent PMS framework update.