Fix for ignoring non-gacela foreign keys