Added handling for empty program information