Fixing up BinaryLogic

Based on: https://github.com/duckduckgo/zeroclickinfo-goodies/pull/340

Will eventually fix https://github.com/duckduckgo/zeroclickinfo-goodies/issues/141