Set prev when splitting a range on deletion

If it was not set, then DLIST_REMOVE was crashing
as it was impossible to rebuild the proper list.
nice catch! :+1: 
i would suggest we use DLIST_* helpers for manipulating the list
DLIST_ADD_AFTER() should fit nicely in this case?