Fix selector for threads: facts are strings, not ints