Fix: Error when trying to cascade delete rows when the related table is a view.
Fix: When checking out from dashboard cart.