Running the debugger on this, it seems that line:231 always results in pathToValidate equaling txIdWithSlash. What is the scenario where "removeStart()" comes into play?