Why Catastrophe had the perfect ending