deleted Model_StockHistory::search function; cleaned unnecessary code