a fix to the multiselect error that appeared when editing a programme