[PATCH] handle package field for group_package_listing in history queries