fix == operator for path, model search