Fixed swig rendering for nested partials case