Yes, that was incorrect. It is majority of those present minus those that vote present or abstain.
So they could have gotten to 29 and it would have fallen short I guess, because a lot of Democrats are missing. Gotta believe that Boehner owes Pelosi one.