added NaN test for check_column_index