Updated to work when hidden comments are displayed.