mongoid 4.0.0.alpha.2 metadata error fixes