Fixed bug when context processor is run but not middleware causing no title to be set