search_category now accepts package_id as an optional parameter. This is used in the delegates search widget.