Fix class name tag search in "new " context