I managed to get it to work, but it wasn't easy. It seems that when you click the delete button it redirects you into the list and then tries to delete it deleting /list/$list/$list which does not exist.
I managed to delete using the web developer html editor extension for firefox since it bars redirection during editing allowing to send the delete code without going into the list.