fixed issue when constraints return undefined
bumped to 1.0.1