Fixed transaction class.
Fixed condition.