fixed small route errors. When request or assignment is deleted, its related assignment/request is also deleted.