Fix deprecation warning - update when_changed conditionals to use new syntax
Merge pull request #45 from tiembo/update_when_conditional

Fix when_ deprecation warning - update conditionals to use new syntax