Fix the error for product with no category