Current documentation for OnBeforeFolderChange says:
Use the OnAfterFolderChange event if you want notification after a folder has been read.
Wrong there, but right at the BeforeFolderChangeData page:
If a script add-in implements the OnBeforeFolderChange event, the method receives a BeforeFolderChangeData object before the new folder is read.