Updated code for pre-populating optgroups to handle multiple taxonomy fields with no current terms selected