Fix range value extraction to use existential comparison

Fix #605

Signed-off-by: Byron Ruth <b@devel.io>
Merge pull request #612 from cbmi/issue-605

Fix range value extraction to use existential comparison