Issue #308 - corrected logic test error.