Corrected (de)activation of associated EXEC document (closes #3205)
Merge pull request #6 from eguaj/1.1-A3205

Corrected (de)activation of associated EXEC document (closes #3205)