Fixed errors when no primary pool / no workshift pools