Fix regex for compound keys.
Fix regex for compound keys.

Also fixes bug when callback is not called if regexp not matched.

matteodelabre/mongoose-beautiful-unique-validation,MattouFP/mongoose-beautiful-unique-validation