Small business optimism rises modestly in October