I recently saw where another person mistakenly edited a question so that instead of asking about modulo values of $-1$, it was now for $1$. This mismatched the title & the rest of the text, so it was fairly obvious. I wasn't sure if I should do a rollback, which would remove other useful parts of the change (as well as I'm not sure what other consequences a rollback would cause), so I instead just edited it myself to fix this.
My question is if I did the right thing and what is the best procedure for handling an issue like this? Although I suspect something like this would have been asked & answered before, I couldn't find anything. However, if it has been done before, please mark this as duplicate and point me to any such other questions. Thanks.