An extra comma was causing certain debug messages to blow up

Fixes #2275