Correct variable accessed for action parameter and add DELETE detection
Correct variable accessed for action parameter and add DELETE detection

brendam/dmi-tcat,brendam/dmi-tcat,brendam/dmi-tcat,brendam/dmi-tcat