Fixes dynamic comment state change.

Issue #447
Removes forgoten debug trace