statement::make_package() bug fix.
statement::make_package(): resources package index fix.