#3287: Fix FK error of destroying view with systems