Fixed #20250 - Added a regression test for negated Q + annotate

Thanks nott.