Fix to eliminate data.table warning