Some PR gaffes could have been avoided through a better understanding of company values.