adjustments to the defaults logic
target guessing now knows about foreign keys.