Fixing very minor bug where scopeSource wasn't being passed in correctly for functions in blocks.