Account for no-date error and exit upon finding last product