I don't think in the scenario editor, you might just have to give the custom races your trying to use, the base race ID and go form there.
In the scenario editor you click to add the Dergin race have your custom race take the position of the Dergin in the mod. I think that should be a good work around for the scenario.