Submitting an essay for others to judge, and then altering it after receiving criticism is not quite doing it right. Mistakes are okay, covering them up is not however. In my opinion a better way to deal with the issue is to cover the bad joke with strikethrough formatting, followed by rationale for doing so.