Fixed issue with deletion

Fix removeIndexById() (removeIndex() was already handled)