Pass search params through and make sure they're used correctly.