Fix hierarchy model admin for django version 1.5