Fixed reference to renamed variable.

Fixed an older reference to renamed variable 'currentlyExecuting'.