I think I have seen similar issues before. It could be an InfoPath bug, a possible workaround is to re-insert the code from scratch. The steps are:
1. Open your solution in Designer
2. Remove code (Tools | Form Options, Programming, "Remove Code" button), save as
3. Create a new VSTO solution based on your codeless XSN
4. Copy-paste the code from the old VS solution into FormCode.cs
With luck, it will solve your problem.
David Airapetyan / Software Services ArchitectQdabra® Software / Streamline data gathering to turn process into knowledge