01.10.2017, 18:45
This problem is annoying, I made a workaround that consists of adding the IDs I want to remove from an iterator to an array and once the foreach finishes I run the array (in a for() loop) and remove them normally.
Probably not the best way, but fixed the issue.
Probably not the best way, but fixed the issue.