Fixed a bug where deletions were being handled with a performBlockAndWait: in cases where the context is confined (has no private queue).
Found a failing test for ordered relationship syncs. Has to do with deletions.
Fixed a bug in ordered relationship sync. The global identifiers of objects already existing in an ordered relationship were not being retrieved, so they were not available in the object-global id map. This caused the global id not to be found for some objects when sorting the relationship, and different orders could result on different devices.

Fixed by adding the global ids of all objects that are already members of the ordered relationship, whether or not they are actively involved in the change.