Fix conflict with web.middleware

This seems to fix things without breaking things
Merge pull request #1 from jcrossley3/patch-1

Fix conflict with web.middleware