You may be correct, in which case the tail would always point away from the sun regardless of the comet’s direction of travel.
It’s been awhile since I studied comets, thank you for correcting me.
I looked it up just to make sure I was correct. No harm, no foul.