Fixed mongoid staging