Research Overflow Exploit Fix - see MOD_BUGFIX_RESEARCH_OVERFLOW

Fix for research overflow exploit/bug

Requires the associated CustomModOptions.xml entry