Now passes a copy of the reference_params dict into the condition func
In theory, users could get unexpected behaviour if they add key/value pairs to reference_params via their condition function. This fixes it.
In theory, users could get unexpected behaviour if they add key/value pairs to reference_params via their condition function. This fixes it.