getWindowHandles returning one handle when multiple tabs opened

Hi. In previous versions browser.getWindowHandles() used to return an array of ALL window handles. Now it does not. The method name implies one or more window handles. Please if that changed, then I request an example of to obtain all the window handles in 1.6.5 please. Thanks.

To note, we are using selenium 2.51.0. there was a bug in selenium 2.21, that was fixed with 2.22 … https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/3747