Fix error on non-issue pages with comment areas.
Fix error on non-issue pages with comment areas.

t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,Soullivaneuh/gitlabhq,shinexiao/gitlabhq,Soullivaneuh/gitlabhq,SVArago/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,axilleas/gitlabhq,shinexiao/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,openwide-java/gitlabhq,axilleas/gitlabhq,icedwater/gitlabhq,openwide-java/gitlabhq,martijnvermaat/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,daiyu/gitlab-zh,dreampet/gitlab,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,htve/GitlabForChinese,icedwater/gitlabhq,LUMC/gitlabhq,mmkassem/gitlabhq,screenpages/gitlabhq,icedwater/gitlabhq,martijnvermaat/gitlabhq,openwide-java/gitlabhq,daiyu/gitlab-zh,allysonbarros/gitlabhq,allysonbarros/gitlabhq,axilleas/gitlabhq,screenpages/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mr-dxdy/gitlabhq,screenpages/gitlabhq,allysonbarros/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,iiet/iiet-git,icedwater/gitlabhq,stoplightio/gitlabhq,SVArago/gitlabhq,SVArago/gitlabhq,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,htve/GitlabForChinese,jirutka/gitlabhq,dreampet/gitlab,htve/GitlabForChinese,shinexiao/gitlabhq,mr-dxdy/gitlabhq,darkrasid/gitlabhq,daiyu/gitlab-zh,t-zuehlsdorff/gitlabhq,allysonbarros/gitlabhq,screenpages/gitlabhq,dplarson/gitlabhq,jirutka/gitlabhq,openwide-java/gitlabhq,martijnvermaat/gitlabhq,LUMC/gitlabhq,t-zuehlsdorff/gitlabhq,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,dreampet/gitlab,darkrasid/gitlabhq,daiyu/gitlab-zh,SVArago/gitlabhq,darkrasid/gitlabhq,iiet/iiet-git,LUMC/gitlabhq,darkrasid/gitlabhq,dplarson/gitlabhq,LUMC/gitlabhq,dreampet/gitlab,martijnvermaat/gitlabhq