Fix facility deletion.