Okay, I forgot...got a bit busy. Anyway, here's the 'workaround'...it's actually more of a fix.
First, take a look at your Weapondata.ini file. Lets say for today we want to fix our IRM rails (2IR).
[WeaponData600]
TypeName=LAU-105
FullName=LAU-105 DRA
ModelName=LAU-105
Mass=73.029999
Diameter=0.100000
Length=2.800000
AttachmentType=NATO,USAF,USN
NationName=USAF
StartYear=0
EndYear=0
Availability=2
BaseQuantity=4
Exported=TRUE
ExportStartYear=0
ExportEndYear=0
ExportAvailability=2
WeaponDataType=6
WeaponsRackType=2IR
NumWeapons=2
LoadLimit=95.000000
LengthLimit=3.000000
MaxFuelAmount=0.000000
Attachment01Position=0.282000,0.000000,-0.020000
Attachment01Angle=0.000000,0.000000,-5156.620156
Attachment02Position=-0.282000,0.000000,-0.020000
Attachment02Angle=0.000000,0.000000,5156.620156
[WeaponData800]
TypeName=ATAL
FullName=2 Pack Stinger Rack
ModelName=ATAL
Mass=20.000000
Diameter=0.200000
Length=1.600000
AttachmentType=USAF
NationName=USAF
StartYear=1978
EndYear=2020
Availability=2
BaseQuantity=12
Exported=TRUE
ExportStartYear=1978
ExportEndYear=2020
ExportAvailability=2
WeaponDataType=6
WeaponsRackType=2IR
NumWeapons=2
LoadLimit=50.000000
LengthLimit=1.600000
MaxFuelAmount=0.000000
Attachment01Position=0.137000,0.000000,0.034500
Attachment01Angle=0.000000,0.000000,0.000000
Attachment02Position=-0.137000,0.000000,0.034500
Attachment02Angle=0.000000,0.000000,0.000000
Note the bolded areas...these are important.
Now, the situation currently as you see it. There are 2IR rails in this order. If you were to go into your loadout menu to load two Stingers, it would use the LAU-105 rail, because it comes first in the weapondata.ini (actually weapondata.dat...but that's another story)...which would result in Stingers hanging on a Sidewinder rail...silly looking. However, notice that it would not happen the other way around...because of the LoadLimit and LengthLimit restrictions...you couldn't load a 'winder on a Stinger rail unless you 'forced it' via the Loadout.ini.
So, here's how to fix it.
Backup your weapondata.ini first!!!!
First, find all the weapondata.ini entries of the same type...in this case WeaponsRackType=2IR. Find each weapon entry of that type, copy and paste all into a new text file.
Then, sort them.
A) By AttachmentType
B) Then by LengthLimit
C) Then by LoadLimit
A few notes. For those racks that do not have Length/LoadLimit entries, you may want to consider making some that match the largest weapon that rack will carry. This will help prevent weird loadouts and will also help sorting.
Renumber the entries so that the reordered entries plug into the previous slots using copy and overwrite. Finish by doing the weapon editor dance.
You should now have entries that will help avoid mismatched racks/missiles. The more restrictive your AttachmentType entries are (for the aircraft, rack, and weapon) the less chance of getting a mismatch.
Also, by sorting your racks as above, the engine will not attempt to load a rack that the weapon cannot fit on.
FastCargo