Private equity is the top finance route as middle market businesses feel more optimistic