Update ais.ForeignKey to use ais.Join. Purely an internal refactoring,
to be used for the FK processing update later.