Fix last-attack failed detection