Being able to reach over the fence and stab down at the attackers made a big difference. Or at least until the attackers realized they could stab through the fence at the legs of the defenders above.