Fixes bug with freeing transition with no sums listed