Tidies up _getNestedView code

lol this commit msg will temporarily exist on minor
:tomato: