Adjusted handling of canceled beforeCommandExec and afterCommandExec events.
Fix for beforeCommandExec event firing ret val handling.
Corrected value which indicates canceled event.
If we check for event canceling we should use strict equal operator checking.
Changelog entry.
Merge branch 't/11413'