Fixing index matcher for mongoid >= 4