MDL-26177 compare 255 chars when checking custom field uniqueness