Fix `500 Internal Server Error' when comment was removed
Fix failed test
Merge pull request #330 from kmiyake/fix_bug_and_failed_test

Fix bug and failed test