Shared Parameter from Excel

Hello,

I’ve created a dynamo script to convert my excel into shared parameters in Revit. It seems to work fine for some Discipline & Type of Parameters but it seems to count a few others as null… in my example it pulls Common and Structural disciplines just fine but it ignores Electrical and Piping. Any idea how I can fix this?

Thanks in advance
Create SP.dyn (23.0 KB)
PUMPS.xlsx (53.0 KB)