Fixed ConcurrencyModificationException while removing a method with BytecodeModifiers