Fixed one failure with raw QuerySets.
Fixed 12 errors on lookups traversing GenericRelations.