fix logic error in void context detection

still has quite a fe false positives