filter empty values when synchronizing groups