Fixed SQL error, inconsistency in field names between ALTER TABLE and CREATE INDEX...