Narrow test and set ACTIVE flag for heuristics