fix: Fix the call to modelClassCache for modelName duplicate checks