Fixed Mongoid invoke