Updating DataGrid to avoid empty style names.