Remove debug output; simplify nestset logic