Fix minor autoperif bug that breaks the whole thing.