Changed back pages middleware to no longer explicitly insert custom model into context