Fix flags and attacks missing a comma in output.