Fixed an error in owdatasampler.py

Fixes #91