jQuery UI Tabs div order

jQuery UI Tabs div order

I dont know if this is a bug or not, but if i change the order of the divs, then it show that the first tab is active, but actually displays the content of the second div. This "bug" appears in the latest 1.8 build, the 1.7.2 works correctly. So is this a bug??

Code example:
  1. <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">1</a></li>
                    <li><a href="#tabs-2">2</a></li>
                    <li><a href="#tabs-3">3</a></li>
                </ul>
               
                <div id="tabs-2">2 tab</div>
                <div id="tabs-3">3 tab</div>
                <div id="tabs-1">1 tab</div>
    </div>