Fix search in all the places it's broken, not just work queries
Only escape unescaped slashes
Merge pull request #1470 from elzj/search_500_fix

Fix search in all the places it's broken, not just work queries
Fix deploy script syntax for primary servers
Add bundle exec to whenever command