fix for django v1.7: delete & access incorrect key

I fix the bug mentioned here: https://github.com/stefanfoulis/django-filer/issues/429. It is anticipated that this bug is repeatable in Django 1.6.

Hopefully someone can update the unit test so as to run in Django 1.7. I tried but it is too time consuming to solve South migration problem in all the depended libraries.