One thing to consider is the fact that that particular course of action might not be correct in all cases. Note the completely proper and desired usage of "that that" in the previous sentence. But then you're getting into grammar checking, and that's probably beyond the scope of your class.