Makes model_soft obey cascade delete options correctly. Closes #261