Added the conference query to middleware, and modified the context_processor to access the conference property of the request object.