use params.id as the _id value for the delete object filter

It seems that the findOneAndRemove function wasn't being passed a filter and delete seemed to be failing. Passing in the object with _id attribute seemed to work.