Fix for rereview flag traceback when changing device types (bug 829024)