Fix delete_all for associations.