Handle case where values is None.

The tests seemed to indicate this was handled fine, but apparently I was wrong.
Added explicit test for this.
Preparing release 0.3
Back to development: 0.4