blocks: fixed use of "not" for "!".