Bug 961526 — Pruning foreign key failure.