Bug fixed where userid in cron should be coming from eventdata