Fix #148 - Clear unsynced metadata on upstream sync