the people of avaciggy were marginally less miserable than they should have been , owing mainly to the latter component of their diet , but also to their ability to maintain a sense of humour even when they were outnumbered by the former .