Make M-r works in mongo shell