Fix toPathString() for typed operator