Added support for where conditions on unique validation rule.