Prevent erroneous index creation for non-numerical attributes.