[Refactor] Fix a regression with getParent

I accidentally unnested this if/else in `NifModel::getParent( int block
)` because it was confusingly done.  I redid it to be more readable.