Fixed #21430 -- Warning raised when unpickling Models and QuerySet from different versions

Thanks @charettes @akaariai @loic for help.
That doesn't mean that they aren't supported. They might not be valid but there is no restriction for doing so.