don't crash when checking to see if we can use a 2d query and there is no collection