Limit results to product templates that are active

After _inherits was removed, the active field exists on both product and
template. However, if the template is inactive, the product cannot be
purchased. So it is better that it not be displayed.