Update Mongoid adapter to use a scope for the state field