CRM-12581 - fix some notices

----------------------------------------
* CRM-12581: Group(s) Selection for Profile Create Mode Not Saving
  http://issues.civicrm.org/jira/browse/CRM-12581