fixed an issue with the auto include function

some models were coming back as null