Bug fix

Applying a vectored subset replacement failed.
Solution applied iteratively