fix bug in autorepair

where a comment before an out statment with extended geometry modes
was confused with a named input set