Moved ModelForm check work when instance is given

Fixes #15877