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

I simply fix the bug mentioned here: https://github.com/stefanfoulis/django-filer/issues/429

I tried to update the unit test so as to run in Django 1.7 but it was too time consuming for me.