Avoid crash when getting column names (by Keisuke Nishida)