Fixes #17390.  Don't always override an instance's constraints with am empty object.