I've been trying to create a Dzus feature in a part, but keep getting failed geomontry. Advise?

5-rail-fasteners.jpg

You see the ends of these pieces? I've been trying to create my own, but the loft between them keeps on failing. Need it to be variable, as I want it for a specific application, and using it as more of an internal cam than a locking feature.

Attaching a copy of the part, and my attempted loft. As well as some pictures.

SolidworksParts And Features