Fix undefined index on price_id

If price_id doesn't exist in the array an undefined index notice occurs.