removing double up of quotes in getIndexSqlDefinition()