Made get_price() less error prone