HPCC-8839 Fix problems with inactive selectors

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