Fixed issue with deleting items and relationships between objects.