Added migrations, fixed queryset call and fixed meta inheritance for self-referential sample model.