From recollection, AGI includes Capital Gains. That means it also depends upon how much in gains you get on what your bracket is.
Another question is whether you depreciated your condo because that depreciation gets recaptured on the sale. The depreciation effectively drops your cost basis on the condo so the recapture is taxed at capital gains rates.