Updated how spells are written for Edges.

Edges between the same vertices are now only made once. If they exist at x
different points in time, x different spell elements will be made for the edge,
instead of x different edge elements.