Fixed #23370 -- defer() fails with inherited models

Related ticket: https://code.djangoproject.com/ticket/23370
Let's say, "Django 1.6.7 fixes several bugs in 1.6.6, including a regression related to a security fix in that release."