Change to avoid foreach error due to pilot with no flight data.

Signed-off-by: DavidJClark <david@noticeabledesigns.com>