fixed search restrictions not setting cookies
Merge branch 'steve' of ssh://github.com/xPapers/xPapers into steve