Fixes #22

Fixes the setitemwarnings example.