Predictions are derived from a number of factors including how often users search for a particular term. So if Google suggests something offensive, it’s a strong indicator that an awful lot of people are typing that particular phrase into the search box. :(
PS: It should be noted that Google no longer suggests the predictions mentioned in the article and it is now possible to report offensive predictions. I guess someone tipped them off!