confirm that boolean logic works as expected to resolve #16