Perhaps found a simpler way to strip don't-cares

Appears to work