Add before_filter on products work on deleting paintings with product.