UnrestrictLi: fix for #238