Fixed `validModels` behaviour with parameters