Bugfix: Ignore placeholders and reference copies when deleting records during sync.