Fix NPE when batch-updating/inserting empty list