Ensure partials nest partials and filters

This fixes an issue where nested partials cannot reference the top level registered partials.