You are likely creating the MultiAxis object with a Motion number that is used by an axis. Not good. When you clear (or add to) the axes on the MultiAxis object, you’ve effectively fubared your axis object.
When creating a MultiAxis Object, you want to do use the following formula.
Real Axis Count + Phantom Axis Count + (this MultiAxis #). That way you don’t have overlap between Axes and MultiAxis objects.