it fixes unique validator for sf > 2.2