Fix lookup of nested non-override names