Fixed #21469 -- Allow set objects in Meta.unique_together.

Thanks to Tim for the review.