Disable foreign_unique handling and re-anable collapsing to work around JS issues on editing form.