Fix queries on AutoField by adding back in value_to_db_auto