Merge/migrations

Fix the bug where some objects are sent after their corresponding spaces have already been deleted.