Fixed improper "if getline" to include >0