fixes a bug with a precondition in environments where solr params are not modifiable.