DList length elements needs to be using longs

This was ouch :(