Fixes error in README example

Closes gh-1