The SearchParametersFactory now rejects nil objects, and has a test class.