Fix issue with /ptp command

Fixes #1773