Fixes test_lookup_values
Merge pull request #1136 from lukecampbell/lookup-values-fix

Fixes test_lookup_values