Correctly verify types when setting AutoConfig values