Make sure that there are no entries with the same guid and ancestor in db on fetch