Hey there Ramza I found a little issue with this plugin. It seems to have an issue dealing with the Non-Optimize Types, plugin parameter from Yanflys equip core. It works fine from the optimize in the equip window. And it sometimes recognizes that it should not remove items in the non optimize slots when you change classes but some times it does not recognize the parameter.
From what I have been able to tell, I think the issue happens if you change from a class to another class that has a different amount of equipment slots. The slot that I am trying to block from being optimized is id 10 in the equipment types section so it is a ways down the list, I'm not sure if that has anything to do with it.
Anyways, sorry to have found another issue, I hope it isn't too much trouble.