Fix undefined index

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