Added delete section logic, fixed mapping bug with cascade delete.