Fix comment reproduction when ranges are not present

* Closes #20