Fix codegen autoinc last as option for HLists (issue #704)

review by @szeiger