add_to_dellist(): cleaning & refactoring.

A small cleaning patch. Can someone can review please ?