Added support for AutoField

Only adding a filter for AutoField when explicitly specified in fields.