FLUID-5513: Fixed index stability issue in fluid.remove_if (discovered when filtering GPII test suite lists)