Handle the index return from filter_slice_value
Fixing regex