fix a bug where deleted comments cause an undefined replyButton