MDL-29233 revert the optional_param workaround and use this->multiselect to decide when we expect arrays