I've got it here! (for codex, but should be trivial to adapt to others) – the way it is meant to be running is first doing the keyword search, then sense checking the semantics whether it was actually meant to be negative or not, but probably worth adapting to one's personal