fixes case where a dict or list of non-pandas.DataFrames are passed in