fixes #8612 - Makes output consistent for deleting act key, BZ1171092

I think this should use asserts. The change is to respond with the task instead of a message; however, this test update won't catch this case if this is ever regressed.