Adding monkey patch so that uniqueness validator works with encrypted fields