Bug fix for target selection logic
Bug fix for target selection logic

timahutchinson/desispec,desihub/desispec,profxj/desispec,desihub/desispec,gdhungana/desispec,profxj/desispec,gdhungana/desispec,timahutchinson/desispec