Values escaped before being turned into a regex in UniqueDocumentValidator

Otherwise things like e-mail addresses (which have dots in) might result in weird results as their characters will be treated as special regex ones!