[arctic-wolf] - Refactor code for multiple select