Yes they did, yet they ended with 38 fewer seats than the Republicans in the House! How? Well, in a process that would make even top Tory strategist Gerry Mander blush, Congressional Redistricting allows partisan redrawing of electoral boundaries after a census. It would seem that the Republicans made the most of the fact that they controlled the process in a lot more places than the Democrats.
Both sides gerrymander - often with the tacit agreement of the other so they can continue to harvest safe seats.