Fixed delete confirmation function. Syntax was wrong in 4.1