On the flaring of cometary plasma tails