Fix `Model::findMultipleByIds()` (see #6331)