Bug 1005866 - Confirmation button on delete is wrong

Same for the unnecessary deepEqual