Fixed a pricing bug in row processing logic