Corrects the error of clearing old models when the model directory contains directories with names that do not match a regular expression
Corrects the error of clearing old models when the model directory contains directories with names that do not match a regular expression