Fixes to the routes in the mongodb example.