fixed error for viable_models method

there are three nested levels
and the `m` in reject block is an array
which will throw `NoMethodError` for
undefined method `starts_with?' for #<Array:0x007fc424a31a98>