editable_columns type check

Added editable_columns type check before calling indexOf.