TEIID-2347 fix for resolving view fk's prior to resolving plans