Update helpers.py

https://github.com/silverfix/django-nested-inlines/commit/aeb7a1f84cd41acb8efa66483908f79a2fcd511a