Fix bug in export bets