lang::exists returning false positives

refs #16291