Removed unnecessary code in store.setDataSet function

Removed some code that didn't have any effect.