This intends to fix #268 by avoiding usage of len for replace and remove but rather finds the correct index of the added objects before replacing/removing them. By doing so there should be no issue anymore with a given order of adding and removing or replacing hooks.
This intends to fix #268 by avoiding usage of
len
for replace and remove but rather finds the correct index of the added objects before replacing/removing them. By doing so there should be no issue anymore with a given order of adding and removing or replacing hooks.