Fixes incorrect expression evaluation. Fixes gh-281

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #282 from rwaldron/281

Fixes incorrect expression evaluation. Fixes gh-281