Fixed issue #2638 which prevented loading models in sub-folders by passing an array.