Fixed bug that prevented anti-edges from being serialized properly.