Group Profile fix

Check to ensure GroupProfile record exists.  In addition check to ensure "name" field exists before doing stuff with it.  @martynjames @chrisndodge