Don't crash on early EOF
Avoid crash when no records exist