Bug in dbo.fn_TradeProperty with 'lay_avg_price' property