fixes #74. deletion warning now works in both deck and category views.