Fix for disabled run on document switch.
Merge remote-tracking branch 'origin/master' into Revit2015