Added logic to prevent mysql errors from being communicated as registration userId/validationId mismatch