Finally got the ignoring foreign keys working. [skip ci]