Missions are generated at the beginning of the month for missionScripts, so your research will go into effect the next month after you researched it. Also, the MSDF isn't 100% effective, it just greatly reduces the number of pogroms - this is intended, and not a bug in the mission scripts. If you made sure all copies of the ES mission were stopped by the lawyer research, then it won't pop up again.