HPCC-8856 Fix problems with inactive selectors

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>