The optimizer is doing the correct thing in your case – it is getting you to 9% hit.
But, the character sheet is displaying that you have 3% more hit than you actually do. (If you add up the hit on the chosen gear, you’re actually at 9%. The optimizer picks a helmet that takes you from 7% up to 9%.)
I’ll fix that display issue in the next update.