I don't think we should take the legend of Saint Shiva so literally. The account of her lying with a dragon could well just be a metaphor for collaborating with them.