Fix logic in view to hide comments section