fix index matcher for mongoid 4