Update rake tasks to work with new Mongoid