Hide empty categories in the product_categories shortcode Closes #4689