Rewrite field names in select_related; fix deffered models registry lookup (close #248).