Fix the issue when viewing a vendor with no search options.

Kohanna was trying to tack an additional empty WHERE clause to the end of the query because of
$this->_transactions = $this->_transactions->and_where_open() and
$this->_transactions = $this->_transactions->and_where_close().