Unable to add customized schedule to EP library

I got the following error when trying to write a customized schedule to EP library using the addToEPLibrary component which is supposed to accept customized material, construction and schedule.

Moreover, the call from EP schedule library component produced three schedules containing the same name…

May I ask if I’m missing something here?

schedule.gh (466.2 KB)

Noted with many thanks, @devang.