Updated search controller to pick up on deprecated parameters