Fix when boundary tokens are the same

When DataRange boundary tokens are the same (i.e. isSameToken == true), startName and stopName are both empty. In this case the resulting query will be null which will lead to whole index search.