#2540: Fixes an issue with NotifyFilter.
#2540: Fixes an issue with NotifyFilter.

This fixes the case when a controller for example registers a notification and then returns a View result instead of a Redirect result.
When returning a View, the registered notifications would not be rendered until another page request occurred.

Fixes #2540

neTp9c/Orchard,SouleDesigns/SouleDesigns.Orchard,brownjordaninternational/OrchardCMS,Praggie/Orchard,JRKelso/Orchard,patricmutwiri/Orchard,xiaobudian/Orchard,grapto/Orchard.CloudBust,LaserSrl/Orchard,kgacova/Orchard,Praggie/Orchard,aaronamm/Orchard,yonglehou/Orchard,ehe888/Orchard,TaiAivaras/Orchard,oxwanawxo/Orchard,oxwanawxo/Orchard,enspiral-dev-academy/Orchard,omidnasri/Orchard,jchenga/Orchard,ehe888/Orchard,SzymonSel/Orchard,Ermesx/Orchard,yersans/Orchard,jagraz/Orchard,omidnasri/Orchard,jimasp/Orchard,kouweizhong/Orchard,jersiovic/Orchard,OrchardCMS/Orchard,hbulzy/Orchard,tobydodds/folklife,tobydodds/folklife,openbizgit/Orchard,Codinlab/Orchard,dburriss/Orchard,omidnasri/Orchard,luchaoshuai/Orchard,geertdoornbos/Orchard,Fogolan/OrchardForWork,patricmutwiri/Orchard,bedegaming-aleksej/Orchard,dcinzona/Orchard,hbulzy/Orchard,johnnyqian/Orchard,TalaveraTechnologySolutions/Orchard,gcsuk/Orchard,omidnasri/Orchard,Dolphinsimon/Orchard,gcsuk/Orchard,bedegaming-aleksej/Orchard,fassetar/Orchard,AdvantageCS/Orchard,Anton-Am/Orchard,TaiAivaras/Orchard,omidnasri/Orchard,TalaveraTechnologySolutions/Orchard,armanforghani/Orchard,Fogolan/OrchardForWork,TaiAivaras/Orchard,AdvantageCS/Orchard,ehe888/Orchard,jchenga/Orchard,rtpHarry/Orchard,Dolphinsimon/Orchard,jtkech/Orchard,IDeliverable/Orchard,andyshao/Orchard,OrchardCMS/Orchard,li0803/Orchard,xkproject/Orchard,Serlead/Orchard,Serlead/Orchard,andyshao/Orchard,hbulzy/Orchard,xiaobudian/Orchard,Anton-Am/Orchard,jerryshi2007/Orchard,Praggie/Orchard,alejandroaldana/Orchard,Lombiq/Orchard,IDeliverable/Orchard,bedegaming-aleksej/Orchard,tobydodds/folklife,stormleoxia/Orchard,dozoft/Orchard,kouweizhong/Orchard,fortunearterial/Orchard,gcsuk/Orchard,mvarblow/Orchard,aaronamm/Orchard,mvarblow/Orchard,JRKelso/Orchard,hbulzy/Orchard,tobydodds/folklife,dmitry-urenev/extended-orchard-cms-v10.1,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,Ermesx/Orchard,grapto/Orchard.CloudBust,openbizgit/Orchard,omidnasri/Orchard,fassetar/Orchard,sfmskywalker/Orchard,AdvantageCS/Orchard,bedegaming-aleksej/Orchard,vairam-svs/Orchard,DonnotRain/Orchard,TalaveraTechnologySolutions/Orchard,tobydodds/folklife,LaserSrl/Orchard,xkproject/Orchard,vairam-svs/Orchard,li0803/Orchard,stormleoxia/Orchard,Lombiq/Orchard,patricmutwiri/Orchard,dozoft/Orchard,TalaveraTechnologySolutions/Orchard,patricmutwiri/Orchard,spraiin/Orchard,yersans/Orchard,enspiral-dev-academy/Orchard,hhland/Orchard,dozoft/Orchard,patricmutwiri/Orchard,jagraz/Orchard,Codinlab/Orchard,Fogolan/OrchardForWork,JRKelso/Orchard,spraiin/Orchard,geertdoornbos/Orchard,hannan-azam/Orchard,fassetar/Orchard,oxwanawxo/Orchard,xiaobudian/Orchard,OrchardCMS/Orchard,xkproject/Orchard,kouweizhong/Orchard,Fogolan/OrchardForWork,enspiral-dev-academy/Orchard,dozoft/Orchard,dcinzona/Orchard,JRKelso/Orchard,Codinlab/Orchard,stormleoxia/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,MetSystem/Orchard,MetSystem/Orchard,abhishekluv/Orchard,yonglehou/Orchard,fassetar/Orchard,emretiryaki/Orchard,bedegaming-aleksej/Orchard,sfmskywalker/Orchard,kgacova/Orchard,jagraz/Orchard,ehe888/Orchard,harmony7/Orchard,emretiryaki/Orchard,yersans/Orchard,LaserSrl/Orchard,hhland/Orchard,armanforghani/Orchard,IDeliverable/Orchard,jimasp/Orchard,alejandroaldana/Orchard,kgacova/Orchard,abhishekluv/Orchard,jagraz/Orchard,Serlead/Orchard,DonnotRain/Orchard,mvarblow/Orchard,SzymonSel/Orchard,Codinlab/Orchard,johnnyqian/Orchard,armanforghani/Orchard,MetSystem/Orchard,aaronamm/Orchard,phillipsj/Orchard,rtpHarry/Orchard,mvarblow/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,brownjordaninternational/OrchardCMS,vairam-svs/Orchard,jchenga/Orchard,Anton-Am/Orchard,grapto/Orchard.CloudBust,yersans/Orchard,hbulzy/Orchard,MetSystem/Orchard,aaronamm/Orchard,alejandroaldana/Orchard,Ermesx/Orchard,yonglehou/Orchard,openbizgit/Orchard,openbizgit/Orchard,jerryshi2007/Orchard,li0803/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,fortunearterial/Orchard,luchaoshuai/Orchard,LaserSrl/Orchard,spraiin/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,sfmskywalker/Orchard,oxwanawxo/Orchard,jimasp/Orchard,phillipsj/Orchard,jersiovic/Orchard,AdvantageCS/Orchard,hhland/Orchard,neTp9c/Orchard,jtkech/Orchard,xiaobudian/Orchard,AdvantageCS/Orchard,Lombiq/Orchard,openbizgit/Orchard,Praggie/Orchard,escofieldnaxos/Orchard,jchenga/Orchard,grapto/Orchard.CloudBust,abhishekluv/Orchard,jerryshi2007/Orchard,jimasp/Orchard,brownjordaninternational/OrchardCMS,neTp9c/Orchard,SouleDesigns/SouleDesigns.Orchard,DonnotRain/Orchard,yonglehou/Orchard,tobydodds/folklife,stormleoxia/Orchard,emretiryaki/Orchard,hannan-azam/Orchard,jersiovic/Orchard,rtpHarry/Orchard,omidnasri/Orchard,TalaveraTechnologySolutions/Orchard,spraiin/Orchard,Fogolan/OrchardForWork,gcsuk/Orchard,dburriss/Orchard,IDeliverable/Orchard,geertdoornbos/Orchard,luchaoshuai/Orchard,SouleDesigns/SouleDesigns.Orchard,harmony7/Orchard,omidnasri/Orchard,jerryshi2007/Orchard,Ermesx/Orchard,andyshao/Orchard,OrchardCMS/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,luchaoshuai/Orchard,harmony7/Orchard,xiaobudian/Orchard,DonnotRain/Orchard,SzymonSel/Orchard,harmony7/Orchard,enspiral-dev-academy/Orchard,omidnasri/Orchard,gcsuk/Orchard,escofieldnaxos/Orchard,luchaoshuai/Orchard,spraiin/Orchard,rtpHarry/Orchard,fortunearterial/Orchard,jchenga/Orchard,Lombiq/Orchard,dcinzona/Orchard,andyshao/Orchard,dburriss/Orchard,alejandroaldana/Orchard,dcinzona/Orchard,jerryshi2007/Orchard,TalaveraTechnologySolutions/Orchard,JRKelso/Orchard,johnnyqian/Orchard,sfmskywalker/Orchard,harmony7/Orchard,xkproject/Orchard,MetSystem/Orchard,yersans/Orchard,abhishekluv/Orchard,DonnotRain/Orchard,aaronamm/Orchard,hannan-azam/Orchard,Serlead/Orchard,brownjordaninternational/OrchardCMS,hannan-azam/Orchard,jtkech/Orchard,jersiovic/Orchard,li0803/Orchard,escofieldnaxos/Orchard,IDeliverable/Orchard,alejandroaldana/Orchard,rtpHarry/Orchard,Anton-Am/Orchard,armanforghani/Orchard,SouleDesigns/SouleDesigns.Orchard,geertdoornbos/Orchard,Serlead/Orchard,xkproject/Orchard,geertdoornbos/Orchard,TalaveraTechnologySolutions/Orchard,OrchardCMS/Orchard,escofieldnaxos/Orchard,escofieldnaxos/Orchard,dozoft/Orchard,armanforghani/Orchard,hhland/Orchard,dcinzona/Orchard,neTp9c/Orchard,abhishekluv/Orchard,emretiryaki/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,dmitry-urenev/extended-orchard-cms-v10.1,yonglehou/Orchard,Praggie/Orchard,grapto/Orchard.CloudBust,SzymonSel/Orchard,sfmskywalker/Orchard,SzymonSel/Orchard,LaserSrl/Orchard,andyshao/Orchard,jimasp/Orchard,fassetar/Orchard,hhland/Orchard,ehe888/Orchard,TaiAivaras/Orchard,phillipsj/Orchard,Dolphinsimon/Orchard,Ermesx/Orchard,vairam-svs/Orchard,Dolphinsimon/Orchard,mvarblow/Orchard,enspiral-dev-academy/Orchard,dburriss/Orchard,fortunearterial/Orchard,Lombiq/Orchard,brownjordaninternational/OrchardCMS,neTp9c/Orchard,jtkech/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,SouleDesigns/SouleDesigns.Orchard,kouweizhong/Orchard,kgacova/Orchard,vairam-svs/Orchard,kgacova/Orchard,jersiovic/Orchard,johnnyqian/Orchard,sfmskywalker/Orchard,sfmskywalker/Orchard,johnnyqian/Orchard,grapto/Orchard.CloudBust,phillipsj/Orchard,jagraz/Orchard,Anton-Am/Orchard,TaiAivaras/Orchard,emretiryaki/Orchard,TalaveraTechnologySolutions/Orchard,Codinlab/Orchard,hannan-azam/Orchard,abhishekluv/Orchard,Dolphinsimon/Orchard,dburriss/Orchard,li0803/Orchard,sfmskywalker/Orchard,jtkech/Orchard,fortunearterial/Orchard,phillipsj/Orchard,oxwanawxo/Orchard,kouweizhong/Orchard,stormleoxia/Orchard