Bugfix: Disabled foreign key checks also for revision import.