Fixes bug with empty comments being added