fixing !== false in array_search of CouplingCollector