Fixed issue with inverse manager inside forEach, deleting a model