Altered set error to ensure the given dataset can be broadcast properly