Fix problem in logic where OR logic wouldn't properly handle arguments with 0 value. This involved rewriting the logic processor to make it testable. Wrote a thorough set of tests for this.