Improved deletion of Routines, Sets and Exercises