Fix dummy process for mongo middleware