add state parameter to filter thread comments