Fix a bug in the recent PATH commit for PCDM where I used the wrong integer variable.