Updates to handle the cartesian branch of mongosearch