Changed arguments and query for group name rather then by groupID.