If your wife re-married before her annulment for her first marriage was finalized, then she was still legally married to her first husband. Accordingly, her second "marriage" was null and void. In other words, in the eyes of the law it is as though it never existed. And since the annulment was granted for her first marriage, then she is legally able to now marry you. That having been said, she should also probably get another annullment for the "second" marriage just to clear up any legal confusion, etc.