MVC MiniProfiler.RenderIncludes multiple item on one render


Currently I am starting the in global.asax::Application_AuthorizeRequest and in the site _Layout.cshtml I use @MiniProfiler.RenderIncludes().

Everything works fine in the development enviroment (http:\localhost) were each statement is rendered for each request.

However when I publish to the production server there are request that dont have a statement rendered but are rendered when I navigate to another page.

Am I doing anything wrong here?