Slicing the filtered array as well.