Adding a check to make sure the sending user is not nil.  refs #9170