There seems to be a bug in expand_delta, or I am making a syntax error of some sort. (I am running the most recent build.)
My code is as follows:
{a,b,c,d}::Indices(vector);
\delta{#}::KroneckerDelta;
ex := \delta^{a}_{b}^{c}_{d};
expand_delta(_);
The error is:
RuntimeError: tree: attempt to navigate up past head node. At: <string>(6): <module>