Revert "Change flow int applyFilterIndices"

This reverts commit aa51c5724a62ebde99ad7f9c953a40ee100bed56.