fixed bug with Slice in selectall_arrayref