A note on symmetries of diffusions within a martingale problem approach