Fixes bug in subtypingMatrix: If any name is NA, ignore the solution.