Handle slice() as well as sub() in @forindexes