BZ1059232 - Guided rule editor: calendars attribute is broken when a list of calendars is used (cherry-picked from 028ff20ea0e0ce17a6d2c1ede3a6d6cfcc87a3c7)