Fixes NPE during sync.