BugFix: probability not being set in agent before storing in DB.