Fixes poorly named variables in search controller that broke routes