Fix case when parentheses are omitted in index creation. Thanks to Yuri Ushakov for the report.