[FOLD] Fix getSomeEndpoints