Fix "Index out of range" errors when printing bad results