Fix unupdated line in autoinvestor refactor