Remove sections when there aren't any.