fix scope for mongoid 4