Manual fix for pull request 426
Fix as per http://forums.activiti.org/content/experimental-event-logging-issue