Fixed error check in DCDataSet