Hamas changed tactics, and their defense held up reasonably well given that between 4 and 5,000 rockets were fired at Israel.
I'm not entirely sure how they could have prepared for paraglider ambushes short of having their soldiers be constantly patrolling, and thus being exposed, along the border.
Then again, I'm just a dog on the internet.