Issue #308 - corrected logic test error.
Merge pull request #312 from nwinklareth/master

Issue #308 - corrected logic test error.