Fix for #2087

Unique indexes columns generated with quotes causes error...