BPMSessionManager - BeforeTask - Fixed bug