Changed the order in which context is built in get_context_data.