Updated stats

Fixed foreach bug