Ensure argument passed to check_selected is correct type