Fixed 'same message twice' error message in debug logging