AS7-6235 Don't try and check valid-but-undefined model references