Added reset params for 2nd condition

Fixes #20