Fixing search controller