Fix bug causing unnecessary runtime warnings.
requested to merge philsaxton/merbocop:psaxton-20230128-fix-posting-unnecesary-runtime-warnings into master
This ensures that the runtime warning "Attempted to edit a comment and might have posted a new one..." is only posted when the new comment id doesn't match the edited comment.