Add query debugging for MultipleObjectsReturned exceptions.

Same as for DoesNotExist exceptions.