Fix security bug
Merge pull request #484 from erwinwinder/master

Fix search controller security bug