Fix index matcher for mongoid 4